<?php $this->load->view('config/header_home');?>
<h2>Form <?php echo $mode?> Resort</h2>
<div class="line-separtor"></div>
<br/>	
	<a href="<?php echo site_url()?>resort" class="btn btn-primary"> Kembali ke daftar </a>
<br/>
<br/>
<form method="post" action="<?php echo site_url() ?>resort/<?php echo $action; ?>" class="form-horizontal">
	<input type="hidden" name="id_resort" value="<?php echo @$detail[0]['id_resort']?>">
	<div class="control-group">
		<label class="control-label" for="nama_resort">Nama resort</label>
		<div class="controls">
		  <input type="text" class="span5" name="nama_resort" value="<?php echo @$detail[0]['nama_resort']?>" >
		</div>
	</div>
	<div class="form-actions">
	  <input type="submit" name="submit" value="Simpan" class="btn btn-primary" />
	  <a href="<?php echo site_url()?>resort" class="btn">Batal</a>
	</div>
</form>
<?php $this->load->view('config/footer_home');?>